<template>
  <div class="home">
    <el-container>
      <el-header>
        <header-view></header-view>
      </el-header>
      <el-container>
        <aside-view></aside-view>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import HeaderView from "./components/HeaderView.vue";
import AsideView from "./components/AsideView.vue";

export default {
  components: { AsideView, HeaderView },
  name: "HomeView",
  data() {
    return {
      isCollapses: true,
    };
  },
};
</script>
<style lang="scss" scoped>
.home {
  // STYLE tutu修改样式
  overflow: hidden;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  padding-bottom: 50px;

  :deep(.el-container) {
    width: 100%;
    height: 100%;
  }
  :deep(.el-header) {
    background-image: linear-gradient(#02bbd6, #2098f2);
  }
}

.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  // STYLE tutu修改样式
  color: #333;
}

body > .el-container {
  margin-bottom: 40px;
}
</style>
